package com.zhou.project.modules.circle.circlePostsYes.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zhou.project.components.base.entity.Base;
import com.zhou.project.configurations.security.authentication.CurrentAuthentication;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@TableName(value = "ucc_circle_posts_yes")
@ApiModel("[圈子模块-点赞管理-数据模型]")
public class PostYes extends Base {

    @ApiModelProperty(name = "postsId",value = "点赞话题id",required = true,dataType = "int")
    @NotNull(message = "点赞的话题id不能为空")
    Integer postsId;

    @ApiModelProperty(name = "userId",value = "用户id",required = true,dataType = "int")
    Integer userId;
}
